package com.usiful.model;

import java.util.Set;

/**
 * 
 * @author [周织能]
 * @description 邮件上下文
 * @date 2016年7月30日
 * @email 742408364@qq.com
 */
public class EmailContext extends BaseModel{
/**
	 * 
	 */
	private static final long serialVersionUID = -8619805130918617599L;
/*
	String host = "smtp.163.com";
    int port = 465;
    String from = "jnetzhou@163.com";
    String to = "742408364@qq.com";
    String username = "jnetzhou";
    String password = "jnetzhou1989";*/
	
	//stmp server
	protected String host;	
	//stmp port
	protected int port;
	protected String from;
	protected String to;
	protected String username;
	protected String password;
	protected String subject;
	protected String content;
	
	protected Set<Attachment> attachments;

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Set<Attachment> getAttachments() {
		return attachments;
	}

	public void setAttachments(Set<Attachment> attachments) {
		this.attachments = attachments;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	
	
}
